package com.yfp.device.domain;

import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;

public class WorkOrderExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public WorkOrderExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        protected void addCriterionForJDBCDate(String condition, Date value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value.getTime()), property);
        }

        protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List<java.sql.Date> dateList = new ArrayList<java.sql.Date>();
            Iterator<Date> iter = values.iterator();
            while (iter.hasNext()) {
                dateList.add(new java.sql.Date(iter.next().getTime()));
            }
            addCriterion(condition, dateList, property);
        }

        protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
        }

        public Criteria andWorkOrderSnIsNull() {
            addCriterion("work_order_sn is null");
            return (Criteria) this;
        }

        public Criteria andWorkOrderSnIsNotNull() {
            addCriterion("work_order_sn is not null");
            return (Criteria) this;
        }

        public Criteria andWorkOrderSnEqualTo(String value) {
            addCriterion("work_order_sn =", value, "workOrderSn");
            return (Criteria) this;
        }

        public Criteria andWorkOrderSnNotEqualTo(String value) {
            addCriterion("work_order_sn <>", value, "workOrderSn");
            return (Criteria) this;
        }

        public Criteria andWorkOrderSnGreaterThan(String value) {
            addCriterion("work_order_sn >", value, "workOrderSn");
            return (Criteria) this;
        }

        public Criteria andWorkOrderSnGreaterThanOrEqualTo(String value) {
            addCriterion("work_order_sn >=", value, "workOrderSn");
            return (Criteria) this;
        }

        public Criteria andWorkOrderSnLessThan(String value) {
            addCriterion("work_order_sn <", value, "workOrderSn");
            return (Criteria) this;
        }

        public Criteria andWorkOrderSnLessThanOrEqualTo(String value) {
            addCriterion("work_order_sn <=", value, "workOrderSn");
            return (Criteria) this;
        }

        public Criteria andWorkOrderSnLike(String value) {
            addCriterion("work_order_sn like", value, "workOrderSn");
            return (Criteria) this;
        }

        public Criteria andWorkOrderSnNotLike(String value) {
            addCriterion("work_order_sn not like", value, "workOrderSn");
            return (Criteria) this;
        }

        public Criteria andWorkOrderSnIn(List<String> values) {
            addCriterion("work_order_sn in", values, "workOrderSn");
            return (Criteria) this;
        }

        public Criteria andWorkOrderSnNotIn(List<String> values) {
            addCriterion("work_order_sn not in", values, "workOrderSn");
            return (Criteria) this;
        }

        public Criteria andWorkOrderSnBetween(String value1, String value2) {
            addCriterion("work_order_sn between", value1, value2, "workOrderSn");
            return (Criteria) this;
        }

        public Criteria andWorkOrderSnNotBetween(String value1, String value2) {
            addCriterion("work_order_sn not between", value1, value2, "workOrderSn");
            return (Criteria) this;
        }

        public Criteria andOrderSnIsNull() {
            addCriterion("order_sn is null");
            return (Criteria) this;
        }

        public Criteria andOrderSnIsNotNull() {
            addCriterion("order_sn is not null");
            return (Criteria) this;
        }

        public Criteria andOrderSnEqualTo(String value) {
            addCriterion("order_sn =", value, "orderSn");
            return (Criteria) this;
        }

        public Criteria andOrderSnNotEqualTo(String value) {
            addCriterion("order_sn <>", value, "orderSn");
            return (Criteria) this;
        }

        public Criteria andOrderSnGreaterThan(String value) {
            addCriterion("order_sn >", value, "orderSn");
            return (Criteria) this;
        }

        public Criteria andOrderSnGreaterThanOrEqualTo(String value) {
            addCriterion("order_sn >=", value, "orderSn");
            return (Criteria) this;
        }

        public Criteria andOrderSnLessThan(String value) {
            addCriterion("order_sn <", value, "orderSn");
            return (Criteria) this;
        }

        public Criteria andOrderSnLessThanOrEqualTo(String value) {
            addCriterion("order_sn <=", value, "orderSn");
            return (Criteria) this;
        }

        public Criteria andOrderSnLike(String value) {
            addCriterion("order_sn like", value, "orderSn");
            return (Criteria) this;
        }

        public Criteria andOrderSnNotLike(String value) {
            addCriterion("order_sn not like", value, "orderSn");
            return (Criteria) this;
        }

        public Criteria andOrderSnIn(List<String> values) {
            addCriterion("order_sn in", values, "orderSn");
            return (Criteria) this;
        }

        public Criteria andOrderSnNotIn(List<String> values) {
            addCriterion("order_sn not in", values, "orderSn");
            return (Criteria) this;
        }

        public Criteria andOrderSnBetween(String value1, String value2) {
            addCriterion("order_sn between", value1, value2, "orderSn");
            return (Criteria) this;
        }

        public Criteria andOrderSnNotBetween(String value1, String value2) {
            addCriterion("order_sn not between", value1, value2, "orderSn");
            return (Criteria) this;
        }

        public Criteria andTemperatureIsNull() {
            addCriterion("temperature is null");
            return (Criteria) this;
        }

        public Criteria andTemperatureIsNotNull() {
            addCriterion("temperature is not null");
            return (Criteria) this;
        }

        public Criteria andTemperatureEqualTo(String value) {
            addCriterion("temperature =", value, "temperature");
            return (Criteria) this;
        }

        public Criteria andTemperatureNotEqualTo(String value) {
            addCriterion("temperature <>", value, "temperature");
            return (Criteria) this;
        }

        public Criteria andTemperatureGreaterThan(String value) {
            addCriterion("temperature >", value, "temperature");
            return (Criteria) this;
        }

        public Criteria andTemperatureGreaterThanOrEqualTo(String value) {
            addCriterion("temperature >=", value, "temperature");
            return (Criteria) this;
        }

        public Criteria andTemperatureLessThan(String value) {
            addCriterion("temperature <", value, "temperature");
            return (Criteria) this;
        }

        public Criteria andTemperatureLessThanOrEqualTo(String value) {
            addCriterion("temperature <=", value, "temperature");
            return (Criteria) this;
        }

        public Criteria andTemperatureLike(String value) {
            addCriterion("temperature like", value, "temperature");
            return (Criteria) this;
        }

        public Criteria andTemperatureNotLike(String value) {
            addCriterion("temperature not like", value, "temperature");
            return (Criteria) this;
        }

        public Criteria andTemperatureIn(List<String> values) {
            addCriterion("temperature in", values, "temperature");
            return (Criteria) this;
        }

        public Criteria andTemperatureNotIn(List<String> values) {
            addCriterion("temperature not in", values, "temperature");
            return (Criteria) this;
        }

        public Criteria andTemperatureBetween(String value1, String value2) {
            addCriterion("temperature between", value1, value2, "temperature");
            return (Criteria) this;
        }

        public Criteria andTemperatureNotBetween(String value1, String value2) {
            addCriterion("temperature not between", value1, value2, "temperature");
            return (Criteria) this;
        }

        public Criteria andProcessTimeIsNull() {
            addCriterion("process_time is null");
            return (Criteria) this;
        }

        public Criteria andProcessTimeIsNotNull() {
            addCriterion("process_time is not null");
            return (Criteria) this;
        }

        public Criteria andProcessTimeEqualTo(String value) {
            addCriterion("process_time =", value, "processTime");
            return (Criteria) this;
        }

        public Criteria andProcessTimeNotEqualTo(String value) {
            addCriterion("process_time <>", value, "processTime");
            return (Criteria) this;
        }

        public Criteria andProcessTimeGreaterThan(String value) {
            addCriterion("process_time >", value, "processTime");
            return (Criteria) this;
        }

        public Criteria andProcessTimeGreaterThanOrEqualTo(String value) {
            addCriterion("process_time >=", value, "processTime");
            return (Criteria) this;
        }

        public Criteria andProcessTimeLessThan(String value) {
            addCriterion("process_time <", value, "processTime");
            return (Criteria) this;
        }

        public Criteria andProcessTimeLessThanOrEqualTo(String value) {
            addCriterion("process_time <=", value, "processTime");
            return (Criteria) this;
        }

        public Criteria andProcessTimeLike(String value) {
            addCriterion("process_time like", value, "processTime");
            return (Criteria) this;
        }

        public Criteria andProcessTimeNotLike(String value) {
            addCriterion("process_time not like", value, "processTime");
            return (Criteria) this;
        }

        public Criteria andProcessTimeIn(List<String> values) {
            addCriterion("process_time in", values, "processTime");
            return (Criteria) this;
        }

        public Criteria andProcessTimeNotIn(List<String> values) {
            addCriterion("process_time not in", values, "processTime");
            return (Criteria) this;
        }

        public Criteria andProcessTimeBetween(String value1, String value2) {
            addCriterion("process_time between", value1, value2, "processTime");
            return (Criteria) this;
        }

        public Criteria andProcessTimeNotBetween(String value1, String value2) {
            addCriterion("process_time not between", value1, value2, "processTime");
            return (Criteria) this;
        }

        public Criteria andHeatBeginTimeIsNull() {
            addCriterion("heat_begin_time is null");
            return (Criteria) this;
        }

        public Criteria andHeatBeginTimeIsNotNull() {
            addCriterion("heat_begin_time is not null");
            return (Criteria) this;
        }

        public Criteria andHeatBeginTimeEqualTo(String value) {
            addCriterion("heat_begin_time =", value, "heatBeginTime");
            return (Criteria) this;
        }

        public Criteria andHeatBeginTimeNotEqualTo(String value) {
            addCriterion("heat_begin_time <>", value, "heatBeginTime");
            return (Criteria) this;
        }

        public Criteria andHeatBeginTimeGreaterThan(String value) {
            addCriterion("heat_begin_time >", value, "heatBeginTime");
            return (Criteria) this;
        }

        public Criteria andHeatBeginTimeGreaterThanOrEqualTo(String value) {
            addCriterion("heat_begin_time >=", value, "heatBeginTime");
            return (Criteria) this;
        }

        public Criteria andHeatBeginTimeLessThan(String value) {
            addCriterion("heat_begin_time <", value, "heatBeginTime");
            return (Criteria) this;
        }

        public Criteria andHeatBeginTimeLessThanOrEqualTo(String value) {
            addCriterion("heat_begin_time <=", value, "heatBeginTime");
            return (Criteria) this;
        }

        public Criteria andHeatBeginTimeLike(String value) {
            addCriterion("heat_begin_time like", value, "heatBeginTime");
            return (Criteria) this;
        }

        public Criteria andHeatBeginTimeNotLike(String value) {
            addCriterion("heat_begin_time not like", value, "heatBeginTime");
            return (Criteria) this;
        }

        public Criteria andHeatBeginTimeIn(List<String> values) {
            addCriterion("heat_begin_time in", values, "heatBeginTime");
            return (Criteria) this;
        }

        public Criteria andHeatBeginTimeNotIn(List<String> values) {
            addCriterion("heat_begin_time not in", values, "heatBeginTime");
            return (Criteria) this;
        }

        public Criteria andHeatBeginTimeBetween(String value1, String value2) {
            addCriterion("heat_begin_time between", value1, value2, "heatBeginTime");
            return (Criteria) this;
        }

        public Criteria andHeatBeginTimeNotBetween(String value1, String value2) {
            addCriterion("heat_begin_time not between", value1, value2, "heatBeginTime");
            return (Criteria) this;
        }

        public Criteria andHeatEndTimeIsNull() {
            addCriterion("heat_end_time is null");
            return (Criteria) this;
        }

        public Criteria andHeatEndTimeIsNotNull() {
            addCriterion("heat_end_time is not null");
            return (Criteria) this;
        }

        public Criteria andHeatEndTimeEqualTo(String value) {
            addCriterion("heat_end_time =", value, "heatEndTime");
            return (Criteria) this;
        }

        public Criteria andHeatEndTimeNotEqualTo(String value) {
            addCriterion("heat_end_time <>", value, "heatEndTime");
            return (Criteria) this;
        }

        public Criteria andHeatEndTimeGreaterThan(String value) {
            addCriterion("heat_end_time >", value, "heatEndTime");
            return (Criteria) this;
        }

        public Criteria andHeatEndTimeGreaterThanOrEqualTo(String value) {
            addCriterion("heat_end_time >=", value, "heatEndTime");
            return (Criteria) this;
        }

        public Criteria andHeatEndTimeLessThan(String value) {
            addCriterion("heat_end_time <", value, "heatEndTime");
            return (Criteria) this;
        }

        public Criteria andHeatEndTimeLessThanOrEqualTo(String value) {
            addCriterion("heat_end_time <=", value, "heatEndTime");
            return (Criteria) this;
        }

        public Criteria andHeatEndTimeLike(String value) {
            addCriterion("heat_end_time like", value, "heatEndTime");
            return (Criteria) this;
        }

        public Criteria andHeatEndTimeNotLike(String value) {
            addCriterion("heat_end_time not like", value, "heatEndTime");
            return (Criteria) this;
        }

        public Criteria andHeatEndTimeIn(List<String> values) {
            addCriterion("heat_end_time in", values, "heatEndTime");
            return (Criteria) this;
        }

        public Criteria andHeatEndTimeNotIn(List<String> values) {
            addCriterion("heat_end_time not in", values, "heatEndTime");
            return (Criteria) this;
        }

        public Criteria andHeatEndTimeBetween(String value1, String value2) {
            addCriterion("heat_end_time between", value1, value2, "heatEndTime");
            return (Criteria) this;
        }

        public Criteria andHeatEndTimeNotBetween(String value1, String value2) {
            addCriterion("heat_end_time not between", value1, value2, "heatEndTime");
            return (Criteria) this;
        }

        public Criteria andInLockerTimeIsNull() {
            addCriterion("in_locker_time is null");
            return (Criteria) this;
        }

        public Criteria andInLockerTimeIsNotNull() {
            addCriterion("in_locker_time is not null");
            return (Criteria) this;
        }

        public Criteria andInLockerTimeEqualTo(String value) {
            addCriterion("in_locker_time =", value, "inLockerTime");
            return (Criteria) this;
        }

        public Criteria andInLockerTimeNotEqualTo(String value) {
            addCriterion("in_locker_time <>", value, "inLockerTime");
            return (Criteria) this;
        }

        public Criteria andInLockerTimeGreaterThan(String value) {
            addCriterion("in_locker_time >", value, "inLockerTime");
            return (Criteria) this;
        }

        public Criteria andInLockerTimeGreaterThanOrEqualTo(String value) {
            addCriterion("in_locker_time >=", value, "inLockerTime");
            return (Criteria) this;
        }

        public Criteria andInLockerTimeLessThan(String value) {
            addCriterion("in_locker_time <", value, "inLockerTime");
            return (Criteria) this;
        }

        public Criteria andInLockerTimeLessThanOrEqualTo(String value) {
            addCriterion("in_locker_time <=", value, "inLockerTime");
            return (Criteria) this;
        }

        public Criteria andInLockerTimeLike(String value) {
            addCriterion("in_locker_time like", value, "inLockerTime");
            return (Criteria) this;
        }

        public Criteria andInLockerTimeNotLike(String value) {
            addCriterion("in_locker_time not like", value, "inLockerTime");
            return (Criteria) this;
        }

        public Criteria andInLockerTimeIn(List<String> values) {
            addCriterion("in_locker_time in", values, "inLockerTime");
            return (Criteria) this;
        }

        public Criteria andInLockerTimeNotIn(List<String> values) {
            addCriterion("in_locker_time not in", values, "inLockerTime");
            return (Criteria) this;
        }

        public Criteria andInLockerTimeBetween(String value1, String value2) {
            addCriterion("in_locker_time between", value1, value2, "inLockerTime");
            return (Criteria) this;
        }

        public Criteria andInLockerTimeNotBetween(String value1, String value2) {
            addCriterion("in_locker_time not between", value1, value2, "inLockerTime");
            return (Criteria) this;
        }

        public Criteria andOutLockerTimeIsNull() {
            addCriterion("out_locker_time is null");
            return (Criteria) this;
        }

        public Criteria andOutLockerTimeIsNotNull() {
            addCriterion("out_locker_time is not null");
            return (Criteria) this;
        }

        public Criteria andOutLockerTimeEqualTo(String value) {
            addCriterion("out_locker_time =", value, "outLockerTime");
            return (Criteria) this;
        }

        public Criteria andOutLockerTimeNotEqualTo(String value) {
            addCriterion("out_locker_time <>", value, "outLockerTime");
            return (Criteria) this;
        }

        public Criteria andOutLockerTimeGreaterThan(String value) {
            addCriterion("out_locker_time >", value, "outLockerTime");
            return (Criteria) this;
        }

        public Criteria andOutLockerTimeGreaterThanOrEqualTo(String value) {
            addCriterion("out_locker_time >=", value, "outLockerTime");
            return (Criteria) this;
        }

        public Criteria andOutLockerTimeLessThan(String value) {
            addCriterion("out_locker_time <", value, "outLockerTime");
            return (Criteria) this;
        }

        public Criteria andOutLockerTimeLessThanOrEqualTo(String value) {
            addCriterion("out_locker_time <=", value, "outLockerTime");
            return (Criteria) this;
        }

        public Criteria andOutLockerTimeLike(String value) {
            addCriterion("out_locker_time like", value, "outLockerTime");
            return (Criteria) this;
        }

        public Criteria andOutLockerTimeNotLike(String value) {
            addCriterion("out_locker_time not like", value, "outLockerTime");
            return (Criteria) this;
        }

        public Criteria andOutLockerTimeIn(List<String> values) {
            addCriterion("out_locker_time in", values, "outLockerTime");
            return (Criteria) this;
        }

        public Criteria andOutLockerTimeNotIn(List<String> values) {
            addCriterion("out_locker_time not in", values, "outLockerTime");
            return (Criteria) this;
        }

        public Criteria andOutLockerTimeBetween(String value1, String value2) {
            addCriterion("out_locker_time between", value1, value2, "outLockerTime");
            return (Criteria) this;
        }

        public Criteria andOutLockerTimeNotBetween(String value1, String value2) {
            addCriterion("out_locker_time not between", value1, value2, "outLockerTime");
            return (Criteria) this;
        }

        public Criteria andWorkerOrderStatusIsNull() {
            addCriterion("worker_order_status is null");
            return (Criteria) this;
        }

        public Criteria andWorkerOrderStatusIsNotNull() {
            addCriterion("worker_order_status is not null");
            return (Criteria) this;
        }

        public Criteria andWorkerOrderStatusEqualTo(String value) {
            addCriterion("worker_order_status =", value, "workerOrderStatus");
            return (Criteria) this;
        }

        public Criteria andWorkerOrderStatusNotEqualTo(String value) {
            addCriterion("worker_order_status <>", value, "workerOrderStatus");
            return (Criteria) this;
        }

        public Criteria andWorkerOrderStatusGreaterThan(String value) {
            addCriterion("worker_order_status >", value, "workerOrderStatus");
            return (Criteria) this;
        }

        public Criteria andWorkerOrderStatusGreaterThanOrEqualTo(String value) {
            addCriterion("worker_order_status >=", value, "workerOrderStatus");
            return (Criteria) this;
        }

        public Criteria andWorkerOrderStatusLessThan(String value) {
            addCriterion("worker_order_status <", value, "workerOrderStatus");
            return (Criteria) this;
        }

        public Criteria andWorkerOrderStatusLessThanOrEqualTo(String value) {
            addCriterion("worker_order_status <=", value, "workerOrderStatus");
            return (Criteria) this;
        }

        public Criteria andWorkerOrderStatusLike(String value) {
            addCriterion("worker_order_status like", value, "workerOrderStatus");
            return (Criteria) this;
        }

        public Criteria andWorkerOrderStatusNotLike(String value) {
            addCriterion("worker_order_status not like", value, "workerOrderStatus");
            return (Criteria) this;
        }

        public Criteria andWorkerOrderStatusIn(List<String> values) {
            addCriterion("worker_order_status in", values, "workerOrderStatus");
            return (Criteria) this;
        }

        public Criteria andWorkerOrderStatusNotIn(List<String> values) {
            addCriterion("worker_order_status not in", values, "workerOrderStatus");
            return (Criteria) this;
        }

        public Criteria andWorkerOrderStatusBetween(String value1, String value2) {
            addCriterion("worker_order_status between", value1, value2, "workerOrderStatus");
            return (Criteria) this;
        }

        public Criteria andWorkerOrderStatusNotBetween(String value1, String value2) {
            addCriterion("worker_order_status not between", value1, value2, "workerOrderStatus");
            return (Criteria) this;
        }

        public Criteria andExitCloseTimeIsNull() {
            addCriterion("exit_close_time is null");
            return (Criteria) this;
        }

        public Criteria andExitCloseTimeIsNotNull() {
            addCriterion("exit_close_time is not null");
            return (Criteria) this;
        }

        public Criteria andExitCloseTimeEqualTo(String value) {
            addCriterion("exit_close_time =", value, "exitCloseTime");
            return (Criteria) this;
        }

        public Criteria andExitCloseTimeNotEqualTo(String value) {
            addCriterion("exit_close_time <>", value, "exitCloseTime");
            return (Criteria) this;
        }

        public Criteria andExitCloseTimeGreaterThan(String value) {
            addCriterion("exit_close_time >", value, "exitCloseTime");
            return (Criteria) this;
        }

        public Criteria andExitCloseTimeGreaterThanOrEqualTo(String value) {
            addCriterion("exit_close_time >=", value, "exitCloseTime");
            return (Criteria) this;
        }

        public Criteria andExitCloseTimeLessThan(String value) {
            addCriterion("exit_close_time <", value, "exitCloseTime");
            return (Criteria) this;
        }

        public Criteria andExitCloseTimeLessThanOrEqualTo(String value) {
            addCriterion("exit_close_time <=", value, "exitCloseTime");
            return (Criteria) this;
        }

        public Criteria andExitCloseTimeLike(String value) {
            addCriterion("exit_close_time like", value, "exitCloseTime");
            return (Criteria) this;
        }

        public Criteria andExitCloseTimeNotLike(String value) {
            addCriterion("exit_close_time not like", value, "exitCloseTime");
            return (Criteria) this;
        }

        public Criteria andExitCloseTimeIn(List<String> values) {
            addCriterion("exit_close_time in", values, "exitCloseTime");
            return (Criteria) this;
        }

        public Criteria andExitCloseTimeNotIn(List<String> values) {
            addCriterion("exit_close_time not in", values, "exitCloseTime");
            return (Criteria) this;
        }

        public Criteria andExitCloseTimeBetween(String value1, String value2) {
            addCriterion("exit_close_time between", value1, value2, "exitCloseTime");
            return (Criteria) this;
        }

        public Criteria andExitCloseTimeNotBetween(String value1, String value2) {
            addCriterion("exit_close_time not between", value1, value2, "exitCloseTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterionForJDBCDate("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterionForJDBCDate("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterionForJDBCDate("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterionForJDBCDate("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterionForJDBCDate("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterionForJDBCDate("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andIsDeleteIsNull() {
            addCriterion("is_delete is null");
            return (Criteria) this;
        }

        public Criteria andIsDeleteIsNotNull() {
            addCriterion("is_delete is not null");
            return (Criteria) this;
        }

        public Criteria andIsDeleteEqualTo(Boolean value) {
            addCriterion("is_delete =", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotEqualTo(Boolean value) {
            addCriterion("is_delete <>", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteGreaterThan(Boolean value) {
            addCriterion("is_delete >", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteGreaterThanOrEqualTo(Boolean value) {
            addCriterion("is_delete >=", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteLessThan(Boolean value) {
            addCriterion("is_delete <", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteLessThanOrEqualTo(Boolean value) {
            addCriterion("is_delete <=", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteIn(List<Boolean> values) {
            addCriterion("is_delete in", values, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotIn(List<Boolean> values) {
            addCriterion("is_delete not in", values, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteBetween(Boolean value1, Boolean value2) {
            addCriterion("is_delete between", value1, value2, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotBetween(Boolean value1, Boolean value2) {
            addCriterion("is_delete not between", value1, value2, "isDelete");
            return (Criteria) this;
        }

        public Criteria andMachineIdIsNull() {
            addCriterion("machine_id is null");
            return (Criteria) this;
        }

        public Criteria andMachineIdIsNotNull() {
            addCriterion("machine_id is not null");
            return (Criteria) this;
        }

        public Criteria andMachineIdEqualTo(String value) {
            addCriterion("machine_id =", value, "machineId");
            return (Criteria) this;
        }

        public Criteria andMachineIdNotEqualTo(String value) {
            addCriterion("machine_id <>", value, "machineId");
            return (Criteria) this;
        }

        public Criteria andMachineIdGreaterThan(String value) {
            addCriterion("machine_id >", value, "machineId");
            return (Criteria) this;
        }

        public Criteria andMachineIdGreaterThanOrEqualTo(String value) {
            addCriterion("machine_id >=", value, "machineId");
            return (Criteria) this;
        }

        public Criteria andMachineIdLessThan(String value) {
            addCriterion("machine_id <", value, "machineId");
            return (Criteria) this;
        }

        public Criteria andMachineIdLessThanOrEqualTo(String value) {
            addCriterion("machine_id <=", value, "machineId");
            return (Criteria) this;
        }

        public Criteria andMachineIdLike(String value) {
            addCriterion("machine_id like", value, "machineId");
            return (Criteria) this;
        }

        public Criteria andMachineIdNotLike(String value) {
            addCriterion("machine_id not like", value, "machineId");
            return (Criteria) this;
        }

        public Criteria andMachineIdIn(List<String> values) {
            addCriterion("machine_id in", values, "machineId");
            return (Criteria) this;
        }

        public Criteria andMachineIdNotIn(List<String> values) {
            addCriterion("machine_id not in", values, "machineId");
            return (Criteria) this;
        }

        public Criteria andMachineIdBetween(String value1, String value2) {
            addCriterion("machine_id between", value1, value2, "machineId");
            return (Criteria) this;
        }

        public Criteria andMachineIdNotBetween(String value1, String value2) {
            addCriterion("machine_id not between", value1, value2, "machineId");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}